package com.edu.zut.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.edu.zut.domain.CheckVo;
import com.edu.zut.entity.Result;
import com.edu.zut.result.ResponseResult;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 许文科
 * @since 2023-02-20
 */
public interface ResultService extends IService<Result> {

    //获取论文检测列表
    ResponseResult getResultList(String username);

    //根据报告id删除 置del_flag = 1
    ResponseResult delete(Long resultId);

    //审核检测报告
    ResponseResult check(CheckVo checkVo);

    //根据用户名查找检测报告
    ResponseResult find(String userName);
}
